#include "servertcp.h"

#include <QApplication>
#include "databasehandler.h"

int main(int argc, char *argv[])
{
        QApplication a(argc, argv);

        QString host = "127.0.0.1";
        ServerTcp *users = new ServerTcp(USERS_DATA);
        ServerTcp *doctors = new ServerTcp(DOCTORS_DATA);
        ServerTcp *patients = new ServerTcp(PATIENTS_DATA);
        ServerTcp *medicalRecords = new ServerTcp(MEDICAL_RECORDS_DATA);
        ServerTcp *appointments = new ServerTcp(APPOINTMENTS_DATA);
        ServerTcp *appointments_2 = new ServerTcp(APPOINTMENTS_DATA_2);
        ServerTcp *medicalAdvice = new ServerTcp(MEDICAL_ADVICE_DATA);
        ServerTcp *prescriptions = new ServerTcp(PRESCRIPTIONS_DATA);
        ServerTcp *communication = new ServerTcp(COMMUNICATION_DATA);
        ServerTcp *healthAssessments = new ServerTcp(HEALTH_ASSESSMENTS_DATA);
        ServerTcp *insert = new ServerTcp(INSERT_DATA);
        ServerTcp *departments = new ServerTcp(DEPARTMENTS_DATA);

//        ServerTcp *doctors = new ServerTcp(host,)
        return a.exec();
}
